<template>
	<view>
		<view class="top_box">
			<image class="top_img" src="../../static/images/ymy/A31/image_qcfw1.png"></image>
			<view class="text_box">
				<view class="text_bt">八达汽车清洗馆</view>
				<view class="top_text">
					<text class="text_jg">￥59</text>
					<text class="text_wz">普通轿车全车抛光</text>
				</view>
			</view>
		</view>
		<view class="min_box">
			<view class="min_bt">您对此服务是否满意?</view>
			<view class="min_box2">
				<image class="min_img" src="../../static/images/lrx/image_head2@3x.png"></image>
				<view class="button_box">
					<view class="min_name">赵全四</view>
					<view class="min_text">八达汽车清洗馆汽车抛光工</view>
				</view>
			</view>
			<view>
				<text class="min_button" :class="{buttonActive: switchBtnTab ===0}" @click="switchCurve(0)">满意</text>
				<text class="min_button" :class="{buttonActive: switchBtnTab ===1}" @click="switchCurve(1)">不满意</text>
			</view>
		</view>
		<view class="box3">
			<editor placeholder="请真实的对此类服务进行评价,来帮助更多的消费者"></editor>
			
		</view>
		<view>
			
		</view>
		<view>
			<navigator class="bottom_button" type="default">提交</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				switchBtnTab: 0,
			}
		},
		methods: {
			switchCurve(index) {
				this.switchBtnTab = index
			},

		}
	}
</script>

<style>
	.top_box {
		display: flex;
		background-color: #FFFFFF;
		margin: 20rpx 30rpx;
		border-radius: 20rpx;
		box-sizing: border-box;
		padding: 30rpx;
	}

	.top_img {
		width: 130rpx;
		height: 130rpx;
		border-radius: 12rpx;
	}
	.text_box{
		margin-left: 20rpx;
	}
	.text_bt {
		font-family: PingFang SC;
		font-size: 38rpx;
		font-weight: normal;
		font-stretch: normal;
		line-height: 40rpx;
		letter-spacing: 0rpx;
		color: #000000;
		margin-bottom: 30rpx;
	}

	.text_jg {
		display: inline-block;
		font-family: PingFang SC;
		font-size: 40rpx;
		font-weight: normal;
		font-stretch: normal;
		line-height: 56rpx;
		letter-spacing: 0rpx;
		color: #ff0000;
		margin-right: 20rpx;
	}

	.min_box {
		background-color: #FFFFFF;
		margin: 20rpx 30rpx;
		border-radius: 20rpx;
	}

	.min_bt {
		font-family: PingFang SC;
		font-size: 35rpx;
		font-weight: normal;
		font-stretch: normal;
		line-height: 40rpx;
		letter-spacing: 0rpx;
		color: #000000;
		margin: 0rpx 0 20rpx 30rpx;
		padding-top: 30rpx;
	}

	.min_box2 {
		display: flex;
		margin-left: 30rpx;
	}

	.min_img {
		width: 100rpx;
		height: 100rpx;
	}
.button_box{
	margin-left: 20rpx;
}
	.min_name {
		font-size: 30rpx;
		margin-bottom: 20rpx;
	}

	.min_text {
		color: #f5610c;
	}
	.min_button {
		display: inline-block;
		width: 240rpx;
		height: 72rpx;
		background-color: #C6C6C6;
		border-radius: 12rpx;
		line-height: 72rpx;
		text-align: center;
		color: #FFFFFF;
		margin: 20rpx 0 20rpx 30rpx;
	}

	.buttonActive {
		background-color: #f5610c;
	}

	.box3 {
		background-color: #FFFFFF;
		margin: 20rpx 30rpx;
		border-radius: 20rpx;
	}

	.sc {
		width: 300rpx;
		height: 300rpx;
		background-color: #82848A;
	}
	.bottom_button{
		width: 100%;
		height: 100rpx;
		border-radius: 12rpx;
		position: fixed;
		bottom: 20rpx;
		background-color: #f5610c;
		color: #FFFFFF;
		line-height: 100rpx;
		text-align: center;
		font-size: 35rpx;
	}
</style>
